<template>
  <div id="content">
    <ul class="top">
      <li @click="$router.push('/index/shop')">商品</li>
      <li @click="$router.push('/index/evaluate')">评价</li>
      <li @click="$router.push('/index/store')">商家</li>
    </ul>
    <div class="all">
      <router-view></router-view>
  </div>
  </div>
</template>
<script>
</script>
<style lang="scss" scoped>
#content {
  overflow: auto;
  flex: 1;
  background: white;
  //   overflow: auto;
  .top {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    li {
      //   &:nth-of-type(1) {
      //     color: rgb(240, 20, 20);
      //   }
      &:hover {
        color: rgb(240, 20, 20);
      }
      width: 33.3%;
      height: 100%;
      text-align: center;
      line-height: 80px;
      font-size: 28px;
      color: rgb(77, 85, 93);
    }
  }
  .all{
       width: 100%;
    height: 100%;
  }
}
#footer {
  position: relative;
  width: 100%;
  height: 104px;
  background: #141d27;
  padding-left: 36px;
  div {
    &:nth-of-type(1) {
      padding-top: 12px;
      padding-bottom: 16px;
      position: absolute;
      bottom: 0;
      width: 88px;
      height: 116px;
      background: #141d27;
      border-top-left-radius: 50px;
      border-top-right-radius: 50px;
      p {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: #039ed9;
        .van-icon {
          color: white;
          font-size: 50px;
        }
      }
    }
    &:nth-of-type(2) {
      margin-left: 124px;
      height: 100%;
      display: flex;
      align-items: center;
      span {
        &:nth-of-type(1) {
          color: #919396;
          font-size: 26px;
          font-weight: 700;
          margin-right: 20px;
        }
        &:nth-of-type(2) {
          line-height: 60px;
          height: 60px;
          padding-left: 24px;
          border-left: 2px solid #2c343d;
          font-size: 22px;
          color: #8b8d90;
        }
      }
    }
    &:nth-of-type(3) {
      width: 210px;
      height: 100%;
      background: #2b333b;
      position: absolute;
      right: 0;
      bottom: 0;
      font-size: 24px;
      color: #919396;
      line-height: 102px;
      text-align: center;
    }
  }
}
.shop {
  width: 100%;
  height: 542px;
  border: 1px solid #000;
  display: flex;
  flex-direction: column;
  .top {
    width: 100%;
    height: 80px;
    padding: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f3f5f7;
    border-bottom: 1px solid #e3e6e8;
    p {
      &:nth-of-type(1) {
        font-size: 28px;
        color: black;
        font-weight: 500;
      }
      &:nth-of-type(2) {
        font-size: 24px;
        color: #5dbee6;
        font-weight: 700;
      }
    }
  }
  .bottom {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 26px;
    li {
      width: 100%;
      height: 96px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #f7f7f7;
      p {
        font-size: 28px;
        font-weight: 700;
      }
    }
  }
}
</style>